package com.jk.service.impl;

import com.jk.bean.Author;
import com.jk.bean.Content2;
import com.jk.mapper.ElasticMapper;
import com.jk.service.ElasticService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 骚骚的🐏
 * @Author: 杨
 * @Date: 2019/3/10 13:41
 */
@Service
public class ElasticServiceImpl implements ElasticService {
   @Autowired
   ElasticMapper elasticMapper;
  //查询作者
   @Override
   public List<Author> queryAutor(Content2 content2) {
      List<Author> list=  elasticMapper.queryAutor(content2);
      return list;
   }
}
